<!DOCTYPE html>
<html lang="pt-br">
	<head>
		<base href="<?php echo SERVER_URL; ?>" />
		<meta charset="UTF-8">
		<title>TGV OS - Login</title>
        <link href="public_html/favicon.ico" rel="icon" type="image/x-icon" />
		<link rel="stylesheet" type="text/css" href="public_html/css/default.css" />
		<link rel="stylesheet" type="text/css" href="public_html/css/login.css" />
		<link href="./public_html/favicon.ico" rel="icon" type="image/x-icon" />
	</head>
	<body>
		<div id="boxPrincipal">
			<div id="painelLateral">
				<footer class="rodape">
					<a href="http://studioprogramar.com.br" title="Studio programaR" target="_blank" class="copyright">Studio programar</a>
				</footer>			
			</div>
			<div id="conteudo">
				<!-- INICIO DA PARTE EDITAVEL DE CODIGOS -->
				<div id="corpoLogin">
					<ul>
						<li>
							<div id="loginForm">
								<div class="mascara">
									<form name="formLogin" id="formLogin" method="post" action="./user/logar">
										<hr class="clear">
										<label for="usuario"><input type="login" id="usuario" name="usuario"  autofocus
                                        value="<?php echo $_GET["user"]; ?>"  placeholder="Usuário" required /></label>
                                        <br />
										<label for="senha"><input type="password" id="senha" name="senha" 
                                        placeholder="Senha" required /></label>
                                        <p id="msg" class="destaqueTexto" style="color:#F00;">
                                        	<?php 
												switch($_REQUEST["erro"]){
													case 1: echo 'Preencha todos os campos';
													break;
													case 2: echo 'Senha ou login incorretos';
													break;
													default: echo '&nbsp;';
													break;
												}
											?>
                                        </p>
										<input type="submit" name="enviar" value="Logar">
									</form>
								</div>
							</div>
						</li>
						<li>
							<header class="logo">
								<img src="public_html/imagens/tgvos_logo.png" width="180" />
							</header>
						</li>
					</ul>
				</div>
				<!-- FIM DA PARTE EDITAVEL DE CODIGOS -->
			</div>
		</div>
	</body>
</html>